/*
 * The JAnalytics Library provides a Java API to the Google Analytics service.
 * Copyright (C) 2007 Ansir Development Limited (http://www.ansir.ca)
 * 
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 * 
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

package ca.ansir.analytics.reports;

/**
 * The <code>JAnalyticsException</code> is used to throw exceptions from the
 * <code>JAnalytics</code> class.
 * 
 * @author Dan Andrews
 */
public class JAnalyticsException extends Exception {

	/** Generated serialVersionUID. */
	private static final long serialVersionUID = 5703729929736005703L;

	/**
	 * Constructs a <code>JAnalyticsException</code> with the given message.
	 * 
	 * @param message
	 *            The exception message.
	 */
	public JAnalyticsException(String message) {
		this(message, null);
	}

	/**
	 * Constructs a <code>JAnalyticsException</code> with the given message.
	 * 
	 * @param message
	 *            The exception message.
	 * @param cause
	 *            The <code>Throwable</code> that caused this exception or
	 *            null if generated solely from within the
	 *            <code>JAnalytics</code> class.
	 */
	public JAnalyticsException(String message, Throwable cause) {
		super(message, cause);
	}

}
